import request from '@/utils/request';

export async function getCorpList(params) {
  return request('/mgrApi/suppIns/getCorpList', {
    method: 'POST',
    body: params,
  });
}

export async function getUserId(params) {
  return request('/mgrApi/basicUser/listUserById', {
    method: 'POST',
    body: params,
  });
}
export async function getInsLsPkg(params) {
  return request('/mgrApi/insLsPkg/getInsLsPkgName', {
    method: 'POST',
    body: params,
  });
}
export async function getPlcyParam(params) {
  return request('/mgrApi/plcyParamMGR/queryPlcyParam', {
    method: 'POST',
    body: params,
  });
}
export async function getDetailInfor(params) {
  return request('/mgrApi/suppIns/get', {
    method: 'POST',
    body: params,
  });
}
export async function getSave(params) {
  return request('/mgrApi/suppIns/insert', {
    method: 'POST',
    body: params,
  });
}
export async function getUpdateSave(params) {
  return request('/mgrApi/suppIns/update', {
    method: 'POST',
    body: params,
  });
}

export async function getSaveStart(params) {
  return request('/mgrApi/suppIns/insertStart', {
    method: 'POST',
    body: params,
  });
}
export async function getUpdateSaveStart(params) {
  return request('/mgrApi/suppIns/update', {
    method: 'POST',
    body: params,
  });
}
export async function getDetailInforAccu(params) {
  return request('/mgrApi/suppAccu/get', {
    method: 'POST',
    body: params,
  });
}
export async function getAccuLsPkg(params) {
  return request('/mgrApi/accuLsPkg/getAccuLsPkgName', {
    method: 'POST',
    body: params,
  });
}
export async function getInsertStart(params) {
  return request('/mgrApi/suppAccu/insertStart', {
    method: 'POST',
    body: params,
  });
}
export async function getInsert(params) {
  return request('/mgrApi/suppAccu/insert', {
    method: 'POST',
    body: params,
  });
}
export async function getAccuDetail(params) {
  return request('/mgrApi/suppAccu/get', {
    method: 'POST',
    body: params,
  });
}
export async function getUpdate(params) {
  return request('/mgrApi/suppAccu/update', {
    method: 'POST',
    body: params,
  });
}
